﻿/* AgileFx Version 2.0
 * An open-source framework for rapid development of applications and services using Microsoft.net
 * Developed by: AgileHead
 * Website: www.agilefx.org
 * This component is licensed under the terms of the Apache 2.0 License.
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using AgileFx.ORM;
using AgileFx.MVC.ViewModels;

namespace AgileFx.MVC.ViewModels
{
    public class PartialEntityListViewModel<T> : DefaultViewModel
    {
        [NotFormField]
        public string Filter { get; set; }

        [NotFormField]
        public PartialResultset<T> Items { get; set; }

        public IPartialResultset GetItems()
        {
            return this.Items;
        }
    }
}
